package com.stylefeng.guns.core.common.constant.dictmap;

import com.stylefeng.guns.core.common.constant.dictmap.base.AbstractDictMap;

/**
 * 部门的映射
 *
 * @author fengshuonan
 * @date 2017-05-06 15:01
 */
public class OrgDict extends AbstractDictMap {

    @Override
    public void init() {
        put("soId", "部门名称");
        put("soSort", "部门排序");
        put("soPid", "上级名称");
        put("soPids", "所有上级");
        put("soNamePy", "部门简称");
        put("soName", "部门全称");
        put("tips", "备注");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWrapperMethodName("soId", "getSoName");
        putFieldWrapperMethodName("soPid","getSoName");
        putFieldWrapperMethodName("soPids","getSoPids");
    }
}
